package com.atguigu.demo.mapper;

import com.atguigu.demo.entity.Tiger;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TigerMapper {
    List<Tiger> selectTigerList();

    void deleteTigerById(Integer tigerId);

    void insertTiger(Tiger tiger);

    Tiger selectTigerById(Integer tigerId);

    void updateTiger(Tiger tiger);

    List<Tiger> selectTigerListByCondition(String tigerName);
}
